const state = {
  subid: '', // 企业id
  accountId: '', // 账套id
  newInformation: false, // 新建账套
  examineVux: false, // 查看账套
  Edit: false, // 编辑账套
  documentaccountid: '', // 文档中心id
  bossaccountid: '', // 移动查询id
  financeId: '', // 进入财务权限id
};

const mutations = {
  setAccountId (state, accountId) {
    state.accountId = accountId;
  },
  setPrint (state, subid) {
    state.subid = subid;
  },
  balance (state, boole) {
    state.newInformation = boole;
  },
  checkCurtain (state, boole) {
    state.examineVux = boole;
  },
  EditAccount (state, boole) {
    state.Edit = boole;
  },
  documentaccountid(state, id) {
    state.documentaccountid = id;
  },
  bossaccountid(state, id) {
    state.bossaccountid = id;
  },
  setFinanceId(state, id) {
    state.financeId = id;
  },
  
};
const actions = {
};
const getters = {};

export default {
  // 开启命名空间 与模块Myaccount命名一致  
  namespaced: true,
  actions,
  getters,
  state,
  mutations
};
